提供资源空间的增删改查功能
功能描述:指定用户,获取该用户下的所有资源空间信息。
GET /api/v1/auth/project
Query:
Name | Type | Description | Required |
---|---|---|---|
projectName | String | 项目名称 | No |
cURL example:
curl --location --request GET '{{address}}/api/v1/auth/project?projectName=1&accessKeyId={accessKeyId}&signatureNonce={signatureNonce}&signature={signature}'
--header 'platform: 3' \
Response data:
Name | Type | Description |
---|---|---|
projectId | String | 项目ID |
projectName | String | 项目名称 |
Response example:
{
"code": 0,
"data": [
{
"projectName": "test1",
"projectId": "113f95cd-11d0-4304-88b4-60ec5b223354"
},
{
"projectName": "test2",
"projectId": "31ae1129-3d7b-46c1-858f-089990c4875b"
}
],
"msg": "成功",
"referInfo": null,
"success": true
}